package com.ayoka.bean;

import java.util.List;

/**
 * Created by jinchunping on 2018/4/13.
 */

public class PagerBean<T> {
    public int total;
    public List<T> list;

    public int getTotalPagers(int pageSize){
        double totalPagers = Math.ceil(total * 1f / pageSize);
        return (int) totalPagers;
    }
}
